/**
 * 
 */
package com.axdoc.baseinfo.dao;

import java.util.List;

import org.bson.types.ObjectId;

import com.axdoc.baseinfo.entity.Hospital;
import com.axdoc.common.core.pagination.PageInfo;
import com.axdoc.common.core.pagination.PageResults;

/**
 * @author yanhui
 *
 */
public interface IHospitalMongoDao {
	/**
	 * 获取医院
	 * @param hospitalId
	 * @return
	 */
	public Hospital getHospital(ObjectId hospitalId);
	/**
	 * 根据条件分页获取信息
	 * @param name
	 * @param city
	 * @param level
	 * @param category
	 * @param major
	 * @param pageInfo
	 * @return
	 */
	public PageResults<Hospital> findHospitalPage(Hospital hospitalCon, List<String> cityList, PageInfo pageInfo);
	/**
	 * 根据名称获取
	 * @param name
	 * @return
	 */
	public Hospital getHospitalByName(String name);
	/**
	 * 根据名称获取
	 * @param name
	 * @return
	 */
	public List<Hospital> findHospitalListByName(String name);
	
}
